projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
985cd75
)
x86/mem_sharing: drop unused variable.
author
Tim Deegan
<tim@xen.org>
Thu, 28 Nov 2013 15:02:39 +0000
(15:02 +0000)
committer
Tim Deegan
<tim@xen.org>
Thu, 6 Mar 2014 10:13:07 +0000
(10:13 +0000)
Coverity CID
1087198
Signed-off-by: Tim Deegan <tim@xen.org>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
xen/arch/x86/mm/mem_sharing.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/mem_sharing.c
b/xen/arch/x86/mm/mem_sharing.c
index 4a5d9e896819be9f518bde9260cd95969ffe77fb..7ed6594f91042088d2b3e3632254adf5d69fd235 100644
(file)
--- a/
xen/arch/x86/mm/mem_sharing.c
+++ b/
xen/arch/x86/mm/mem_sharing.c
@@
-846,7
+846,6
@@
int mem_sharing_nominate_page(struct domain *d,
mfn_t mfn;
struct page_info *page = NULL; /* gcc... */
int ret;
- struct gfn_info *gfn_info;
*phandle = 0UL;
@@
-905,7
+904,7
@@
int mem_sharing_nominate_page(struct domain *d,
page->sharing->handle = get_next_handle();
/* Create the local gfn info */
- if (
(gfn_info = mem_sharing_gfn_alloc(page, d, gfn)
) == NULL )
+ if (
mem_sharing_gfn_alloc(page, d, gfn
) == NULL )
{
xfree(page->sharing);
page->sharing = NULL;